Copying Firewall Rules for Commands

To copy rules for one command to another that show which users may run them, enter 3 in the Opt field for that command on the Work with Native AS/400 Command Security screen, as shown in Setting Firewall Rules for Commands (STRFW  > 4 > 6).

The Copy Object Security screen appears:

                             ​ Copy Object Security​                              
                                                                                
  ​
 Object type:​ *CMD   ​                                                         
                                                                                
  ​
 From:​                                                                        
    ​
 Object . . . . . . . . . .​  CALL      ​                                     
    ​ Library  . . . . . . . . .​  QSYS      ​                                     
                                                                                
 To copy, type New Object and New Library, press Enter.​                         
                                                                                
  ​
 To:​                                                                          
    ​
 New Object . . . . . . . .​  CALL        ​ Name, generic*, *ALL, F4 for list​ 
    ​
 New Library  . . . . . . .​  QSYS        ​ Name, *ALL, F4 for list  ​         
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
 F3=Exit​  ​ F4=Prompt​  ​ F12=Cancel​                                               
                                                                                
                                                                                

The read-only Object Type field shows the type of object for which rules are being copied. For commands, this is *CMD.

The read-only Object and Library fields show the object and library for which rules are being copied.

The remaining fields indicate the command to which the rules are being copied:

New Object

The name of the command. This can also be a generic name ending in an asterisk ("*") or *ALL, which refers to all the relevant items in the library named in the next field for which more specific settings have not been created. To see a list of files, place the cursor in this field and press the F4 key.

New Library

The name of the library containing the command. This can also be *UNDFN for undefined values or *ALL, which refers to all libraries for which more specific settings for that command have not been created. To see a list of libraries, place the cursor in this field and press the F4 key